package com.rc.saas.mini.model.enterprise;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.rc.saas.mini.common.base.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description 
 * @Author  
 * @Date: 2022-07-19
 */

@ApiModel(value=" enterprise_submember_apply ", description=" 企业子账号申请 ")
public class EnterpriseSubmemberApply extends BaseModel{ 

    @ApiModelProperty(value = "ID")
    private Long submemberApplyId;
 
    @ApiModelProperty(value = "运营商")
    private String tenantCode;
 
    @ApiModelProperty(value = "企业id")
    private Long enterpriseId;
 
    @ApiModelProperty(value = "对应的企业主会员ID,关联member_info表")
    private Long enterpriseMemberId;
 
    @ApiModelProperty(value = "主账号电话")
    private String enterpriseMobile;
 
    @ApiModelProperty(value = "申请者会员ID,关联member_info表")
    private Long subMemberId;
 
    @ApiModelProperty(value = "申请的子账号电话")
    private String submemberMobile;
 
    @ApiModelProperty(value = "子账号昵称")
    private String submemberNickname;
 
    @ApiModelProperty(value = "申请类型 0申请加入企业主帐号 1申请注销 2申请冻结")
    private String applyType;
 
    @ApiModelProperty(value = "申请来源 0前台申请  1后台增加 默认0")
    private String applySource;
 
    @ApiModelProperty(value = "子账号头像")
    private String headImg;
 
    @ApiModelProperty(value = "状态(0启用 1禁用)")
    private String status;
 
    @ApiModelProperty(value = "审核状态 0未审核，1审核通过，2审核不通过 默认0")
    private String applyStatus;
 
    @ApiModelProperty(value = "原因")
    private String reason;
 
    @ApiModelProperty(value = "null")
    private String createdBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
 
    @ApiModelProperty(value = "null")
    private String lastUpdatedBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;
 
    @ApiModelProperty(value = "微信")
    private String nickname;
 
    @ApiModelProperty(value = "生日")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date birthday;
 
    @ApiModelProperty(value = "性别(0未确定 1男 2女) 默认0")
    private String sex;
 
    @ApiModelProperty(value = "身份证号")
    private String citizenshipNumber;
 
    @ApiModelProperty(value = "地址")
    private String address;
 
    @ApiModelProperty(value = "是否有管理权限(0无 1有)")
    private String hasPermission;
 
    @ApiModelProperty(value = "推荐人ID")
    private Long recommenderId;
 
    @ApiModelProperty(value = "企业名称")
    private String enterpriseName;
 
    @ApiModelProperty(value = "公司法人")
    private String enterpriseOwner;
 
    @ApiModelProperty(value = "法人电话")
    private String ownerMobile;
 
    @ApiModelProperty(value = "联系人")
    private String contactName;
 
    @ApiModelProperty(value = "联系电话")
    private String phone;
 
    @ApiModelProperty(value = "申请人")
    private Long memberId;
 
    @ApiModelProperty(value = "微信昵称")
    private String nameWx;
 
    public Long getSubmemberApplyId() {
        return submemberApplyId;
    }

    public void setSubmemberApplyId(Long submemberApplyId) {
        this.submemberApplyId = submemberApplyId;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public Long getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Long enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public Long getEnterpriseMemberId() {
        return enterpriseMemberId;
    }

    public void setEnterpriseMemberId(Long enterpriseMemberId) {
        this.enterpriseMemberId = enterpriseMemberId;
    }

    public String getEnterpriseMobile() {
        return enterpriseMobile;
    }

    public void setEnterpriseMobile(String enterpriseMobile) {
        this.enterpriseMobile = enterpriseMobile;
    }

    public Long getSubMemberId() {
        return subMemberId;
    }

    public void setSubMemberId(Long subMemberId) {
        this.subMemberId = subMemberId;
    }

    public String getSubmemberMobile() {
        return submemberMobile;
    }

    public void setSubmemberMobile(String submemberMobile) {
        this.submemberMobile = submemberMobile;
    }

    public String getSubmemberNickname() {
        return submemberNickname;
    }

    public void setSubmemberNickname(String submemberNickname) {
        this.submemberNickname = submemberNickname;
    }

    public String getApplyType() {
        return applyType;
    }

    public void setApplyType(String applyType) {
        this.applyType = applyType;
    }

    public String getApplySource() {
        return applySource;
    }

    public void setApplySource(String applySource) {
        this.applySource = applySource;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getApplyStatus() {
        return applyStatus;
    }

    public void setApplyStatus(String applyStatus) {
        this.applyStatus = applyStatus;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getCitizenshipNumber() {
        return citizenshipNumber;
    }

    public void setCitizenshipNumber(String citizenshipNumber) {
        this.citizenshipNumber = citizenshipNumber;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getHasPermission() {
        return hasPermission;
    }

    public void setHasPermission(String hasPermission) {
        this.hasPermission = hasPermission;
    }

    public Long getRecommenderId() {
        return recommenderId;
    }

    public void setRecommenderId(Long recommenderId) {
        this.recommenderId = recommenderId;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public String getEnterpriseOwner() {
        return enterpriseOwner;
    }

    public void setEnterpriseOwner(String enterpriseOwner) {
        this.enterpriseOwner = enterpriseOwner;
    }

    public String getOwnerMobile() {
        return ownerMobile;
    }

    public void setOwnerMobile(String ownerMobile) {
        this.ownerMobile = ownerMobile;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getNameWx() {
        return nameWx;
    }

    public void setNameWx(String nameWx) {
        this.nameWx = nameWx;
    }

}
